package com.hixtrip.sample.infra.db.mapper;

import com.hixtrip.sample.infra.db.dataobject.OrderEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.Date;

@Mapper
public interface OrderMapper {
    int createOrder(OrderEntity order);

    void updateOrderStatus(@Param("orderId") Long orderId, @Param("tableName") String tableName, @Param("date") Date date);
}
